#ifndef BRICK_H
#define BRICK_H
#include"stock.h"
#include<QRect>

class brick
{
public:
    brick(int x=0,int y=0);
    ~brick();
    int life;
    bool is_son;
    int get_brick_x();
    int get_brick_y();

    QRect bk;
    bool isLive;
    bool ishard;
    void change_pos(int xx,int yy);
private:
    int posx;
    int posy;

};

#endif // BRICK_H
